package com.cxria.springboottest.enums;

enum StatusMsgEnum {

	NORMAL("send success"),
	USER_NOT_LOGIN("user not login"),
	USER_ROLE_ERROR("user role error"),
	USER_AUTHORITY_ERROR("user authority error"),
	USER_INCORRECT_CREDENTIALS_ERROR("user incorrect credentials error"),
	MAIL_PROTOCOL_ERROR("mail protocol error"),
	MAIL_PASSWORD_ERROR("mail password error"),
	DATA_ALREADY_EXISTS_ERROR("data already exists error"),
	XLS_DATA_ERROR("xls data error"),
	NOT_IS_XLS_FILE_ERROR("not is xls file error"),
	DATA_SAVE_ERROR("data save error"),
	DATA_VIOLATION_ERROR("data violation error"),
	MSG_FEEDBACK_ERROR("msg feedback error"),
	NOT_FIND_PHONE_OR_BESPEAK_TIME("not find phone or bespeak time"),
	SMS_SEND_ERROR("sms send error"),
	UNKNOWN_ERROR("unkunwn error");

	private String str;

	private StatusMsgEnum(String str) {
		this.str = str;
	}

	@Override
	String toString() {
		return this.str;
	}

}
